public class Gelly extends Car2{
    public Gelly(String name, genderCarType type, double fees){
        super(name,type,fees);
    }

    @Override
    public void carFunction() {
        System.out.println("具备自动驾驶功能");
    }

    @Override
    public String toString() {
        return "名称:"+getName()+",类型:"+getType()+",费用:"+getFees();
    }
}
